package cn.jhz.learn.blog.dao;

import java.util.List;
import java.util.Set;

import org.apache.ibatis.annotations.Param;

import cn.jhz.learn.blog.po.BlogEntityLabel;

public interface BlogEntityLabelMapper {
	int deleteByPrimaryKey(Integer id);

    int insert(BlogEntityLabel record);

    int insertSelective(BlogEntityLabel record);

    BlogEntityLabel selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BlogEntityLabel record);

    int updateByPrimaryKey(BlogEntityLabel record);
	
	int updateStatusByIdAndTitles(@Param("entityId") Integer entityId, @Param("titles") Set<String> titles);
	
	int insertListSelective(@Param("entityLabels") List<BlogEntityLabel> entityLabels, @Param("table") String tableName);
	
}
